<style>
  .basetoolbar_naviTable {
    width: {{$smarty.const.PAGE_WIDTH|escape:'html'}};
    height: 20px;
    margin: 15px 0 15px 0;
  }
  
  .basetoolbar_naviTable1 {
    width: {{$smarty.const.PAGE_WIDTH|escape:'html'}};
    height: 20px;
    margin: 20px 0 40px 0;
  }
  .basetoolbar_naviTable2 {
    width: {{$smarty.const.PAGE_WIDTH|escape:'html'}};
    height: 80px;
    text-align:center;
    background-color:white;
  }
  .basetoolbar_cellTdLeft {
    text-align: left;
    vertical-align: middle;
    font-size:180%;
    font-weight:bold;
    color:#774455;
  }
  .basetoolbar_cellTdCenter {
    background-color:#f5ebe1;
    width: 198px;
    height: 20px;
    text-align: center;
    vertical-align: middle;
  }
  .basetoolbar_cellTdRight {
    width: 60px;
    text-align: right;
    vertical-align: center;
  }
  .basetoolbar_cursorPointer {
    background-image: url(images/buttons/logout.png);
    height: 20px;
    width: 60px;
    cursor:pointer;
    border: 0;
  }
  .basetoolbar_cursorPointer:hover {
    background-image: url(images/buttons/logout_h.png);
    height: 20px;
    width: 60px;
    cursor:pointer;
    border: 0;
  }
  .basetoolbar_padding {
    font-size: 13px;
    font-family: Arial;
    font-weight: bold;
    color: #694247;
  }
</style>

{{if $template == 'pagereceipt'}}
  <table class="basetoolbar_naviTable1" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="basetoolbar_cellTdLeft">
        Receipt
      </td>
      <td class="basetoolbar_cellTdRight"></td>
    </tr>
  </table>
{{else}}
  {{if $template == 'pagecontract'}}
    <table class="basetoolbar_naviTable1" cellPadding="0" cellSpacing="0">
      <tr>
        <td class="basetoolbar_cellTdLeft">
          Customer booking form
        </td>
        <td class="basetoolbar_cellTdRight"></td>
      </tr>
    </table>
  {{else}}
    {{if $template != 'pageproducehistory'}}
      <table class="basetoolbar_naviTable" cellPadding="0" cellSpacing="0">
        <tr>
          <td class="basetoolbar_cellTdLeft">
            {{$smarty.const.DMS1_TITLE|escape:javascript}}
          </td>
          <td class="basetoolbar_cellTdCenter">
            <span class="basetoolbar_padding">{{$userInfo|escape:html}}</span>
          </td>
          <td class="basetoolbar_cellTdRight">
            <input type="button" class="basetoolbar_cursorPointer" onclick="location.href='?logout'" />
          </td>
        </tr>
      </table>
    {{/if}}
  {{/if}}
{{/if}}